package service;

import entity.Teacher;

import java.util.List;

public interface TeacherService {
    //获取所有教师
    List<Teacher> getTeacherList()throws Exception;

    default int addTeacher(Teacher teacher) throws Exception {
        return 0;
    }

    Teacher getTeacherByTno(int tno) throws Exception;
}
